package cn.wolfcode.luowowo.article.mapper;

import cn.wolfcode.luowowo.article.domain.Answer;
import cn.wolfcode.luowowo.article.query.AnswerQuery;
import java.util.List;

public interface AnswerMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Answer record);

    Answer selectByPrimaryKey(Long id);

    List<Answer> selectAll();

    int updateByPrimaryKey(Answer record);

    List<Answer> selectForQuery(AnswerQuery qo);

    List<Answer> selectByAskId(Long id);

    void updateByGold(Long id);
}